/* Updated Chatbot styling */
.chatbot-box {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    flex-direction: column;
    z-index: 1000;
}

.chatbot-header {
    background-color: #1a73e8;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.chatbot-title {
    font-weight: bold;
}

.chatbot-close {
    cursor: pointer;
    font-size: 18px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 330px;
    background-color: #f5f5f5;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
}

.bot-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.message-content {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    max-width: calc(100% - 50px);
    word-wrap: break-word;
}

.message.bot .message-content {
    background-color: #f0f0f0;
    border-top-left-radius: 4px;
}

.message.user {
    justify-content: flex-end;
}

.message.user .message-content {
    background-color: #1a73e8;
    color: white;
    border-top-right-radius: 4px;
}

.chatbot-input {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    background-color: white;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chatbot-input button {
    background-color: #1a73e8;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1a73e8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}